package com.um.jdy.common.device.entity.dto;

import com.um.springboot.starter.orm.entity.BaseDTO;
import lombok.Data;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;

@Data
public class GunDTO extends BaseDTO {

	 @ApiModelProperty(value = "租户ID")
	 protected String comId;

	 @ApiModelProperty(value = "桩ID")
	 protected String devicePileId;

	 @ApiModelProperty(value = "端口号")
	 protected Integer port;

	 @ApiModelProperty(value = "状态 Available:空闲  Preparing:启动中  Charging:充电中  Faulted:故障 Locked:锁定 Offline:离线")
	 protected String status;

	 @ApiModelProperty(value = "当前进行中订单号")
	 protected String orderNo;

	 @ApiModelProperty(value = "开放状态 Enable-启用 NotEnabled-未启用 Disable-停用")
	 protected String openState;

	 @ApiModelProperty(value = "创建时间")
	 protected Date createTime;

	 @ApiModelProperty(value = "充电宝sn")
	 protected String sn;

	 @ApiModelProperty(value = "是否插枪：No-未插枪 Yes-已插枪")
	 protected String isInserted;

	 @ApiModelProperty(value = "是否归位：No-未归位 Yes-已归位 Unknown-未知")
	 protected String isReturn;

	 @ApiModelProperty(value = "电量百分比")
	 protected Integer soc;

	 @ApiModelProperty(value = "电压（V）")
	 protected Double voltage;

	 @ApiModelProperty(value = "电流(A)")
	 protected Double current;

	 @ApiModelProperty(value = "充电时间（分钟）")
	 protected Integer chargeTime;

	 @ApiModelProperty(value = "剩余时间（分钟）")
	 protected Integer remainTime;

	 @ApiModelProperty(value = "枪线温度")
	 protected Integer temp;

	 @ApiModelProperty(value = "电池温度")
	 protected Integer batteryTemp;

	 @ApiModelProperty(value = "故障码json列表")
	 protected String errorCodes;


}
